#ifndef __MAIN_H
#define __MAIN_H

#include <iostream>
#include <cstring>
#include <stdio.h>

typedef struct _key{
    char *key;
    char *val;
    struct _key* next=NULL;
    struct _key* previous=NULL;
}key_handle;

typedef struct _cmd_handle{
    const char* cmd;
    void(*func)(key_handle* buf);
}cmd_handle;


#endif
